// 查询列表接口
const getSubscribePage = (params) => {
    return $axios({
        url: '/manage/petSubscribe/list',
        method: 'get',
        params
    })
}

// 编辑页面反查详情接口
const querySubscribeById = (id) => {
    return $axios({
        url: `/manage/petSubscribe/detail/${id}`,
        method: 'get'
    })
}

// 删除当前列的接口
// const deleCategory = (id) => {
//     return $axios({
//         url: `/manage/petSubscribeType/delete/${id}`,
//         method: 'delete'
//     })
// }

// 修改接口
const approveSubscribe = (params) => {
    return $axios({
        url: '/manage/petSubscribe/approve',
        method: 'put',
        data: { ...params }
    })
}

//查看预约服务类型列表
const queryTypeList = () =>{
    return $axios({
        url: `/manage/petSubscribeType/getList`,
        method: 'get'
    })
}

// 新增接口
// const addCategory = (params) => {
//     return $axios({
//         url: '/manage/petSubscribeType/add',
//         method: 'post',
//         data: { ...params }
//     })
// }